#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
void ppp(int *p1, int *p2);
int main()
{
	int* p1,*p2,a,b;
	a = 1;
	b = 3;
	p1 = &a;
	p2 = &b;
	ppp(p1,p2);
	printf("a=%d,b=%d", a, b);
	return 0;
}
void ppp(int* p1, int* p2)
{
	int z;
	z = *p1;
	*p1 = *p2;
	*p2 = z;
}
